import Vue from 'vue'
import App from './App.vue'
import router from './router'
import '@fortawesome/fontawesome-free/css/all.css'
import Axios from 'axios'

Vue.config.productionTip = false
Axios.defaults.baseURL = 'http://localhost:8090/api';
Vue.prototype.$http = Axios; // 挂载到Vue原型，组件中用this.$http调用

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')